package com.yp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yp.mapper.JobMapper;
import com.yp.pojo.Base;
import com.yp.pojo.Job;
import com.yp.service.JobService;

@Service("jobService")
public class JobServiceImpl implements JobService {
	@Autowired
	private JobMapper jobMapper;

	@Override
	public List<Base> getAllTitleAndMoney() {
		return jobMapper.getAllTitleAndMoney();
	}

	@Override
	public List<Base> getAllTitleAndPeoples() {
		return jobMapper.getAllTitleAndPeoples();
	}

	@Override
	public List<Base> getAllEduAndNum() {
		return jobMapper.getAllEduAndNum();
	}

	@Override
	public List<String> getAllExps() {
		return jobMapper.getAllExps();
	}

	@Override
	public List<String> getAllExpsNums() {
		return jobMapper.getAllExpsNums();
	}

	@Override
	public List<Base> getAllCompAndNum() {
		return jobMapper.getAllCompAndNum();
	}

	@Override
	public List<Job> generalQuery(String keyword) {
		return jobMapper.generalQuery(keyword);
	}

}
